<extend name="./Public/Public_Template/Template.html" />
	<block name="Template_mainyangshi">
		<!--ajax提交效果 分享资源的省市联动效果-->
		<script src="__PUBLIC__/script/fenxianziyuan.js"></script>
		<!--ajax提交效果 表单验证-->
		<script src="__PUBLIC__/script/yanzhenyonghu.js"></script>
		<!--表单样式-->
		<link rel="stylesheet" href="__PUBLIC__/style/yonghu.css" type="text/css" media="screen" />
	</block>
	<block name="Template_main">
		<div class="biaodan">
			<strong>分享资源</strong>
			<form action="__CONTROLLER__/fenxianziyuan" method="post">
				<select id="jishu" name="jishu" onchange="getjishu(this.id);">
					<option value="网络技术">网络技术</option>
					<option value="后端技术">后端技术</option>
					<option value="前端技术">前端技术</option>
				</select>
				<span>请选择属于哪个方向</span>
				<select id="caidan" name="caidan" onchange="getjishu(this.id);">
					<option value="其他">其他</option>
				</select>
				<span>请选择属于哪个分类</span>
				<select id="zicaidan" name="zicaidan">
					<option value="未整理">未整理</option>
				</select>
				<span>请选择属于哪个子分类</span>
				<input type="text" id="ziyuanming" name="ziyuanming" value="" onkeyup="checkziyuanming(this.id);" placeholder="请输入资源名">
				<span id="tishi_ziyuanming">请输入您要分享的资源名</span>
				<input type="text" id="lianjie" name="lianjie" value="" onkeyup="checklianjie(this.id);"  placeholder="请输入链接地址">
				<span id="tishi_lianjie">请您输入您所分享资源的链接地址</span>
				<input type="text" id="checkcode" name="checkcode" value="" class="yanzhenma" onkeyup="checkyanzhenma(this.id);" placeholder="验证码" />
				<img src="__CONTROLLER__/checkcode" class="yanzhenma_tupian" onclick="this.src='__CONTROLLER__/checkcode/aa/'+Math.random()" alt="验证码"/>
				<span id="tishi_yanzhenma">请输入验证码</span><!--请正确输入验证码-->
				<input type="submit" value="同意声明并提交" class="tijiao">
			</form>
			<span style="color:red;">分享前请先登陆，否则直接失败；注册用户仅用于展示为贡献者名称！</span>
		</div>
	</block>
